<import from="/layout/global" name="html5-outer">
	<extend name="title">
		登录--layui后台管理模板 2.0
	</extend>
	<extend name="body">

		<body class="loginBody">
			<form class="layui-form" method="post">
				<div class="login_face"><img src="{{C.PATH.PUBLIC}}images/face.jpg" class="userAvatar"></div>
				<div class="layui-form-item input-item">
					<label for="userName">用户名</label>
					<input type="text" placeholder="请输入用户名" autocomplete="off" name="userName" id="userName" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item">
					<label for="password">密码</label>
					<input type="password" placeholder="请输入密码" autocomplete="off" name="password" id="password" class="layui-input" lay-verify="required">
				</div>
				<div class="layui-form-item input-item" id="imgCode">
					<label for="code">验证码</label>
					<input type="text" placeholder="请输入验证码" autocomplete="off" name="code" id="code" class="layui-input">
					<img src="{{\ar\core\url('json/code')}}" id="codeimg" onclick="changeCode();">
				</div>
				<div class="layui-form-item">
					<button class="layui-btn layui-block" lay-filter="login" lay-submit>登录</button>
				</div>
				<div class="layui-form-item layui-row">
					<a href="javascript:;" class="seraph icon-qq layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
					<a href="javascript:;" class="seraph icon-wechat layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
					<a href="javascript:;" class="seraph icon-sina layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
				</div>
			</form>
		</body>
	</extend>

	<extend name="jsfoot">
		<script type="text/javascript" src="{{C.PATH.GPUBLIC}}layui/layui.js"></script>
		<script type="text/javascript" src="{{C.PATH.PUBLIC}}js/page/login.js"></script>
		<script type="text/javascript" src="{{C.PATH.PUBLIC}}js/cache.js"></script>
		<script>
			function changeCode() {
				document.getElementById("codeimg").src = "{{\ar\core\url('json/code')}}?" + Math.random();
			}
		</script>
	</extend>
</import>